<%--
    Document   : tstock-update
    Created on : 19 Mei 11, 15:04:18
    Author     : Bayu
--%>

<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <jsp:include page="includes/script.html"/>

        <title>Input</title>
    </head>

    <body>
        <center>
        <h2>Initial Stock Update</h2>
        <br>

        


            <c:forEach var="data" items="${data}">
            <form method="post">
                <table>
                    
                <tr>
                    <td>Month</td>
                    <td>${data.notes}</td>
                </tr>
                <tr>
                    <td>Plan Stock</td>
                    <td><input type="text" name="planStock" value="${data.planStock}">
                    <input name="idStock" type="hidden" value="${data.idStock}" >
                    <input name="notes" type="hidden" value="${data.notes}" >
                    </td>
                </tr>
                <tr>
                    <td>Stock Actual</td>
                    <td><input type="text" name="stockActual" value="${data.stockActual}"></td>
                </tr>

                <tr>
                    <td colspan="2" align="right"><input  type="submit" name="submit" value="Save" ></td>
                </tr>
            </table>
             </c:forEach>
        </form>

</center>

    </body>
</html>



